import Mock from 'mockjs'


const data = Mock.mock({
  "bookList|10-15": [{
    "title": "@ctitle",
    "id": '@id',
    "url": '@image(80x120, @color, @cname)',
    "isChecked": false,
    "isGroup": false
  }]
})


Mock.mock('/api/booklist', () => {
  return {
    code: 200,
    data: data.bookList
  }
})